<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

        .header-logo{
            position: relative;
            width: 55px;
            height: 55px;
            background-color: #ff6700;
            margin: 0 auto;
        }

        .mi_logo{
            position: absolute;
            top: 0;
            left: 0;
            width: 55px;
            height: 55px;
            background: url(images/mi-logo.png) no-repeat center;
            transition: all 0.9s;
        }

        .mi_home{
            position: absolute;
            top: 0;
            left: 0;
            width: 55px;
            height: 55px;
            background: url(images/mi-home.png) no-repeat center;
            margin-left: -55px;
            transition: all 0.9s;
        }

        .header-logo:hover .mi_logo{
            margin-left: 55px;
        }

        .header-logo:hover .mi_home{
            margin-left: 0;
        }

    </style>
</head>
<body>
    <div class="header-logo">
        <div class="mi_logo" ></div>
        <div class="mi_home" ></div>
    </div>
</body>
</html>